{foreach $sub as $item}
<tr><td><a href="{plink System:reorder 'id'=>'dolu', 'ident'=>$item["id_menu"]}">Dolů</a>&nbsp;<a href="{plink System:reorder 'id'=>'nahoru', 'ident'=>$item["id_menu"]}">Nahoru</a></td><td>{$item["name"]}</td><td>{$item["module_name"]}</td><td><a href="{plink System:editMenuItem 'id'=>$item["id_menu"]}">Upravit</a>&nbsp;<a onclick="return system.confirm('Opravdu si přejete smazat položku?');" href="{plink System:deleteMenuItem  'id'=>$item["id_menu"]}">Smazat</a></td></tr>
{if !empty($item["sub"])}{include viewSubMenu.phtml, 'sub' => $item["sub"]}{/if}
{/foreach}